package com.study.mapper;

import com.study.dto.CommentDTO;
import com.study.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {

    /**
     * 评论订单
     * @return
     * @param comment
     */
    Long commentOrder(Comment comment);

    /**
     * 获取评论列表
     * @param commentDTO
     * @return
     */
    List<Comment> getCommentList(CommentDTO commentDTO);
}
